﻿namespace TianYu.Core.Common.Captcha
{
    public interface ICaptchaService
    {
        (string Code, string Base64) GeneratorImageCaptcha(int length, bool symbol = false);

        (string Code, string Base64) GeneratorImageCaptcha(int length, int width, int height, float fontSize, bool symbol = false);

        (string Code, byte[] Image) GeneratorImageByteCaptcha(int length, bool symbol = false);

        (string Code, byte[] Image) GeneratorImageByteCaptcha(int length, int width, int height, float fontSize, bool symbol = false);
    }
}
